<html>

<!--   DTD or Date & time info
       Version 1.0  July 29th, 2005
       multiline comments
 -->


<!-- ARCHIVE by GEOCITIES.WS -->
<head>
  <title>Linking Batch Files - GW-BASIC</title>
</head>

<!--  the "LessThanBangDashDash" to "DashDashGreaterThan"
      is a nondisplaying comment-->

<a name="top"></a>
<a href="bindex.html">Index</a>
<a href="btoc.html">TOC</a>

<center><h2>Various Linking</h2></center>
<center><h1>Batch Files</h1></center>
<center><h4>for use with</h4></center>
<center><h2>The Four Files</h2></center>
<center><h4>of the</h4></center>
<center><h1>Apocalypse</h1></center>

<body><script type="text/javascript" src="../js/policy.js"></script>
<center><script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=728&amp;height=90"></script>
</center>
<!--script type="text/javascript" src="/js/AdBoxDiv.js"></script-->
<script type="text/javascript">
adserver();
window.onload=function(){
html = document.body.innerHTML;

checkPolicy(html);
if ((displayif == 0) && (adstring != null)) {
document.getElementById("footeraddiv").innerHTML = adstring;
}
}
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-26341965-1']);
  _gaq.push(['_setDomainName', '.geocities.ws']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>


<script type="text/javascript">
<!--
 H4jewqpdjh6y = /geocities\.ws$|geocities\.ws\/$|geocities\.ws\/index\.php|geocities\.ws\/archive|geocities\.ws\/search|geocities\.ws\/terms-of-use\.php|geocities\.ws\/terms-of-service\.php|geocities\.ws\/about\.php/i;
        t48193jfrdsswdsq = document.URL;
        H4jewqpdjh6yfound = t48193jfrdsswdsq.search(H4jewqpdjh6y);
	
if(H4jewqpdjh6yfound == -1){
	document.write("<center><ins data-revive-zoneid=\"1\" data-revive-id=\"249a85bd1b1946c71ef2de94958ed350\"><\/ins><script async src=\"\/\/147.135.187.149\/ads\/www\/delivery\/asyncjs.php\"><\/script><\/center><br>");
}
//-->
</script>

<!-- following code added by server. PLEASE REMOVE -->
<!-- preceding code added by server. PLEASE REMOVE -->

<pre>
A lot of the DIRECTORY and APPLICATION info in these batch 
files will not be applicable to your system.  Make any 
necessary changes.  All these are here for are to show how a 
ring menuing system is constructed.  Ring menus are not the 
best way to do things but the 17 line menu is easy to 
maintain once you get used to it, but the mode menu is 
considered passe now.  i still use it cause it's simple.

For the ultimate in menuing systems see one of the best
books ever written on BASIC

<b>BASIC PROGRAMMING INSIDE & OUT</b> by H. J. Bomanns
It is an ABACUS Developer's Series Book (a Data Becker Book)
ISBN 1-55755-084-0
  er... it is written by a professional for professionals so 
naturally i never understood too much of it or used any of 
its code.  but i will, i promise.  some day...  maybe...
 (good luck in finding one) 

<hr>

@ECHO OFF
CLS
C:
CD\
PATH=C:\123;C:\BAT;C:\DOS
CD 123\DATA
C:\123\123.EXE
C:\FFA\REPATH.BAT

<hr>

@echo off
cls
c:
cd\
cd CETUS\DOCS
C:\CETUS\CWORDPAD.EXE

<hr>

@ECHO OFF
CLS
C:
CD\
PATH=C:\DB3;C:\BAT;C:\DOS
CD DB3\DATA
DBASE %1
C:\FFA\REPATH.BAT

<hr>

@echo off
cls
c:
cd\
cd progra~1\"Microsoft works"\docume~1
c:\progra~1\"Microsoft works"\msworks.exe
cd \dos\ffa
echo.
echo.
echo.
echo          Press the F10 or F9 key if you are returning from
echo          MS-Works 4.5 to restore screen menuing for the
echo          Four Files of the Apocalypse.  haven't figured out
echo          how to do a "key-fake" yet in win98se.  ..dad
echo          may have to try to go to a 'child' process.
echo.
echo.


<hr>

@ECHO OFF
CLS
C:
CD\
PATH=C:\OFFICE;C:\BAT;C:\DOS
CD OFFICE
SHELL 
C:\FFA\REPATH.BAT

<hr>

@echo off
cls
c:
cd\
rem cd let
cd dos\vde\docs
rem wsppro/i
rem switch
c:\dos\vde\vde.exe bizlet.doc
rem wsppro/u
rem switch.com /x

<hr>

@echo off
cls
c:
cd\
rem cd let
cd dos\vde\docs
rem wsppro/i
rem switch
c:\dos\vde\vde.exe cassie.doc
rem wsppro/u
rem switch.com /x

<hr>

@echo off
cls
c:
cd\
rem cd let
cd dos\vde\docs
rem wsppro/i
rem switch
c:\dos\vde\vde.exe friend.doc
rem wsppro/u
rem switch.com /x

<hr>

@echo off
cls
c:
cd\
rem cd let
rem wsppro/i
rem switch
c:\dos\vde\vde.exe mom.doc
rem wsppro/u
rem switch.com /x

<hr>

@ECHO OFF
CLS
C:
REM  LH C:\SYS\MOUSE.COM
PATH=C:\;C:\WORKS;C:\DOS;C:\BAT
CD \WORKS\DATA
C:\WORKS\WORKS.EXE C:\WORKS\DATA\BIZLET.WPS 
C:\FFA\REPATH.BAT

<hr>

@echo off
cls
c:
rem  LH c:\sys\mouse.com
path=c:\;c:\works;c:\bat;c:\dos
cd\
cd \works\data
c:\works\works.exe cassie.wps 
c:\ffa\repath.bat

<hr>

@echo off
cls
c:
rem  LH c:\sys\mouse.com
path=c:\;c:\works;c:\bat;c:\dos
cd\
cd \works\data
c:\works\works.exe friend.wps 
c:\ffa\repath.bat

<hr>

@echo off
cls
c:
rem  LH c:\sys\mouse.com
path=c:\;c:\works;c:\bat;c:\dos
cd\
cd \works\data
c:\works\works.exe mother.wps 
c:\ffa\repath.bat

<hr>

@echo off
cls
c:
rem  LH c:\sys\mouse.com
path=c:\;c:\works;c:\bat
cd\
cd works\fred\food
c:\works\works.exe rcp-book.wps rcp-toc.wps rcp.wps 
c:\ffa\repath.bat

<hr>

@echo off
cls
c:
rem  LH c:\sys\mouse.com
path=c:\;c:\works;c:\bat
cd\
cd works\data
c:\works\works.exe
c:\ffa\repath.bat

<hr>

@echo off
cls
c:\xtgold\xtgold.com c:\works\data

<hr>

@echo off
cls
c:
cd\
path=c:\word;c:\dos;c:\bat;c:\utl
cd word\docs
REM c:\sys\mouse.com
c:\word\word.exe %1
c:\ffa\repath.bat

<hr>

@echo off
cls
c:
rem  LH c:\sys\mouse.com
path=c:\works;c:\sys;c:\bat
cd\
cd works\data
c:\works\works.exe %1
c:\ffa\repath.bat

<hr>

@echo off
cls
c:
cd\
C:\sys\switch.com
path=c:\ws5;c:\;c:\dos;c:\bat;c:\utl
cd ws5\docs
ws %1
c:\sys\switch.com /x
c:\ffa\repath.bat

<hr>

mode 80,50
qbasic/run budget.wkb /h
mode 80,25

<hr>

mode 80,50
qbasic/run cashflow.wkb /h
mode 80,25
gwbasic mnu-main

<hr>

gwbasic mnu-main
mode 80,50
qbasic/run LL6.WKB /h
mode 80,25

<hr>

@echo off
cls
c:
rem c:\sys\switch.com
rem Loadhigh c:\sys\mouse.com
path=c:\FFA;c:\works;c:\sys;c:\bat
cd\
cd works\******\landlord
c:\works\works.exe lease.wps laterent.wps eviction.wps receipt.wps
cd\ffa 
rem c:\sys\switch.com /x
c:\bat\repath.bat
rem          c:\bas\ll6works.bat
mode 80,50
qbasic/run LL9.WKB /h
mode 80,25

<hr>

@echo off
cls
c:
rem c:\sys\switch.com
rem Loadhigh c:\sys\mouse.com
path=c:\ffa;c:\works;c:\sys;c:\bat
cd\
cd works\****\landlord
c:\works\works.exe lease.wps laterent.wps eviction.wps receipt.wps 
cd\ffa
rem c:\sys\switch.com /x
c:\bat\repath.bat
rem          c:\bas\ll9works.bat

<hr>

@echo off
cls
c:
cd\
cd nb
c:\sys\nb.exe c:\nb\plants.nb
CD\FFA
SET PATH=C:\;C:\DOS;C:\DUS

<hr>

</pre>

</body>

<a href="bbatlink.html#top">TOP</a>
<a href="bindex.html">Index</a>
<a href="btoc.html">TOC</a>


<!-- ARCHIVE by GEOCITIES.WS -->
<div id="footeraddiv" name="footeraddiv">Hosted by www.Geocities.ws</div>
<br>	
<center>
        <div>
<!--script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script-->
<script type="text/javascript">
	atOptions = {
		'key' : '5046d8ab865606a85a55c357926403c9',
		'format' : 'iframe',
		'height' : 90,
		'width' : 728,
		'params' : {}
	};
	document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://www.bcloudhost.com/5046d8ab865606a85a55c357926403c9/invoke.js"></scr' + 'ipt>');
</script>
        </div>

</center>
</html>


<!-- text below generated by server. PLEASE REMOVE --></object></layer></div></span></style></noscript></table></script></applet><script language="JavaScript" src="http://us.i1.yimg.com/us.yimg.com/i/mc/mc.js"></script><script language="JavaScript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/geov2_001.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.geocities.yahoo.com/visit.gif?us1256595195" alt="setstats" border="0" width="1" height="1"></noscript>
<IMG SRC="http://geo.yahoo.com/serv?s=76001084&amp;t=1256595195&amp;f=us-w6" ALT=1 WIDTH=1 HEIGHT=1>
